package common.message.serverSend;

import common.message.Message;

public class ServerConfirmMsg extends Message {
	
	private static final long serialVersionUID = 7383917665646395719L;
	
	private String message;
	private Message request;
	
	public ServerConfirmMsg(int uid, Message req) {
		this(uid, "", req);
	}

	public ServerConfirmMsg(int uid, String msg, Message req) {
		super(getServerFlag(), getUserFlag() + Integer.toString(uid));
		message = msg;
		request = req;
	}
	
	public String getMessage() { return message; }
	public Message getRequest() { return request; }
	
}
